package com.jilujia.web.json;

import java.util.List;

import org.springframework.validation.ObjectError;

import com.jilujia.framework.web.json.JsonData;

public class QuestionData extends JsonData {

	private Long userId;
	private Long questionId;

	public QuestionData(int error, List<ObjectError> messages, Long userId, Long questionId) {
		super(error, messages);
		this.setUserId(userId);
		this.setQuestionId(questionId);
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Long getQuestionId() {
		return questionId;
	}

	public void setQuestionId(Long questionId) {
		this.questionId = questionId;
	}

}
